package com.bot.adms.model.vo;

import com.bot.adms.model.entity.ApplyContent;

import java.util.List;

/**
 * 申请内容信息视图模型
 */
public class ApplyContentVo {
    public ApplyContentVo(ApplyContent applyContent) {
        this.id = applyContent.getId();
        this.title = applyContent.getTitle();
        this.spScType = applyContent.getSpScType();
        this.layStyle = applyContent.getLayStyle();

    }

    public ApplyContentVo() {
    }
    /**
     * 申请内容id
     */
    private Long id;
    /**
     * 标题
     */
    private String title;
    /**
     * 分屏类型（0：单屏、1：双屏、2：三屏）
     */
    private Integer spScType;

    public String getSpScTypeStr() {
        return spScTypeStr;
    }

    public void setSpScTypeStr(String spScTypeStr) {
        this.spScTypeStr = spScTypeStr;
    }

    public String getLayStyleStr() {
        return layStyleStr;
    }

    public void setLayStyleStr(String layStyleStr) {
        this.layStyleStr = layStyleStr;
    }

    private String spScTypeStr;

    /**
     * 布局样式（0：全屏、1：上一下一、2：左一右一、
     * 3：上一下二、4：左一右二、5：上二下一、6：左二右一）
     */
    private Integer layStyle;
    private String layStyleStr;

    /**
     * 一条申请内容对应多条投放申请明细
     */
    private List<ApplyContentSpScDetailVo> applyContentSpScDetailVoList;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getSpScType() {
        return spScType;
    }

    public void setSpScType(Integer spScType) {
        this.spScType = spScType;
    }

    public Integer getLayStyle() {
        return layStyle;
    }

    public void setLayStyle(Integer layStyle) {
        this.layStyle = layStyle;
    }



    public List<ApplyContentSpScDetailVo> getApplyContentSpScDetailVoList() {
        return applyContentSpScDetailVoList;
    }

    public void setApplyContentSpScDetailVoList(List<ApplyContentSpScDetailVo> applyContentSpScDetailVoList) {
        this.applyContentSpScDetailVoList = applyContentSpScDetailVoList;
    }
}
